<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<style>
.bt_view {
	background-color: #8099de;
	border: 1px solid #999;
	width: 80px;
	height: 18px;
	border-radius: 8px;
	border: none;
	margin: 0 0 0 5px;
	font-weight: bold;
	font-size: 0.9em;
	color: #FFF;
	background-image: url(../images/member/dup.jpg);
	background-repeat: repeat-x;
	background-position: center center;
}

table {
	width: 750px;
	border-collapse: collapse;
	text-align: center;
	font-family: 'Trebuchet MS';
}

td,th {
	font-size: 9pt;
	border: 1px solid #ffffff;
	height: 30px;
}

th {
	background-color: #5075dd;
	color: #ffffff;
	font-family: Georgia;
}

tr.alt td {
	color: #000000;
	background-color: #EAF2D3;
}
</style>
<h1 align="center">
	Member List <br>
</h1>
<table border="1">
	<tr>
		<th>번호</th>
		<th>아이디</th>
		<th>이름</th>
		<th>성별</th>
		<th>생년월일</th>
		<th>전화번호</th>
		<th>이메일</th>
		<th></th>
	</tr>
	<c:forEach items="${members }" var="member">
		<tr>
			<td>${member.seqId }</td>
			<td>${member.memberId }</td>
			<td>${member.name }</td>
			<td>${member.gender }</td>
			<td>${member.dateOfBirth }</td>
			<td>${member.phoneNumber }</td>
			<td>${member.email }</td>
			<td>
				<form method="post" action="<c:url value="/member/showMember"/>">
					<input name="seqId" type="hidden" value="${member.seqId }" /> <input
						type="submit" value="보기" class="bt_view" />
				</form>
		</tr>
	</c:forEach>
</table>